<div class="engine-form package-set">
    <form name="DecisionTreeForm" g-validator="DecisionTree_Update" data-invalid-msg="tooltipMessenger">
        <input type="hidden" name="id" ng-model="decisionTree.id">
        <input type="hidden" name="rulePackageId" ng-model="decisionTree.rulePackageId">
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">决策树名：</div>
        <div class="attribute-form-group-r"><input type="text" name="name" ng-model="decisionTree.name"></div>
        <div class="clear"></div>
    </div>
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">描述：</div>
            <div class="attribute-form-group-r">
            <textarea name="remark" rows="3" ng-model="decisionTree.remark"></textarea>
        </div>
        <div class="clear"></div>
    </div>
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">状态：</div>
        <div class="attribute-form-group-r" style="width: 50%">
            <g-dropdown placeholder="请选择" source="[{roleId: 0,roleName: '启用'},{roleId: 1,roleName: '停用'}];"
                        ng-model="decisionTree.treeStatus" display-express="roleName" value-prop="roleId">
            </g-dropdown>
        </div>
        <div class="clear"></div>
    </div>
    </form>
</div>
<!--表单结束-->
<!--按钮-->
<div class="rule-set">
    <button type="button" class="engine-btn-danger"  ng-click="reset()" pg-per="{{packageId}}|1"><i class="icon-engine-refresh"></i>重置</button>
    <button type="button" class="engine-btn-default" ng-click="save()" pg-per="{{packageId}}|1" pg-sta="{{status}}|0"><i class="icon-engine-preservation"></i>保存
    </button>
</div>
<!--按钮结束-->

